package queue;

/**
 * Created with IntelliJ IDEA.
 * Description：
 * User：user
 * DATE:2021-11-02
 * Time:16:21
 */
public class TestDemo {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.offer(1);
        myQueue.offer(3);
        myQueue.offer(2);
        System.out.println(myQueue.peek());
        System.out.println(myQueue.poll());
    }
}
